class CreateServers < ActiveRecord::Migration
  def self.up
    create_table :servers do |t|
      t.column :name, :string
      t.column :address, :string
      t.column :login, :string
      t.column :password, :string
      t.column :mysql_user, :string
      t.column :mysql_password, :string
      t.column :mysql_host, :string
      t.column :comments, :text
      t.column :description, :text
    end
  end

  def self.down
    drop_table :servers
  end
end
